package org.trinity.netdisk.vo.shareFile;

import org.trinity.netdisk.entity.ShareFile;
import org.trinity.netdisk.entity.ShareURL;
import org.trinity.netdisk.entity.UserFile;

public class ShareFileVO extends ShareFile {
    private UserFile userFile;
    private ShareURL shareURL;

    public void setUserFile(UserFile userFile) {
        this.userFile = userFile;
    }

    public UserFile getUserFile() {
        return userFile;
    }

    public void setShareURL(ShareURL shareURL) {
        this.shareURL = shareURL;
    }

    public ShareURL getShareURL() {
        return shareURL;
    }

    @Override
    public String toString() {
        return super.toString() + ", ShareFileVO{" +
                "userFile=" + userFile +
                '}';
    }
}
